Skip to content

People: drop role section headers; one unified card flow#47

Merged
jmxpearson merged 1 commit into
masterfrom
claude/people-unified-card-flow
May 12, 2026
Merged

People: drop role section headers; one unified card flow#47
jmxpearson merged 1 commit into
masterfrom
claude/people-unified-card-flow

Conversation

@jmxpearson
Copy link
Copy Markdown
Member

Summary

Drop the role-based section headers on the people page ("Principal Investigator:", "Postdocs:", "Graduate Students:", "Research Associates:", "Undergraduate Students:"). Current members now flow as one unified grid in YAML order:

  1. PI (people.pi)
  2. Postdocs (current, in YAML order)
  3. Graduate Students (current, in YAML order)
  4. Research Associates (current, in YAML order)
  5. Undergraduate Students (current, in YAML order)

Each card still displays the individual title field under the name, so role context is preserved at the per-person level.

Former members section is unchanged (still grouped by role with <h3> subheadings — those are listed as text, not cards).

Test plan

  • bundle exec jekyll build clean
  • vnu HTML5 → 0 errors on _site/people.html
  • No role section headers in built output
  • Five cards render in expected order (John, Trevor, David, Shiyang, Caitlin) at 1400×900
  • Former members section unchanged
  • CI passes
  • Visual spot-check post-merge

Note worth addressing

John's card no longer shows any role context because his entry in _data/people.yml has no title field — the section header was carrying that information before. Adding title: Principal Investigator to his entry would label him; one-line YAML edit, not in this PR since it's an editorial decision (you might want a different label or none at all).

https://claude.ai/code/session_01S5QXfkxZBNSAf2Y1XAD8H7


Generated by Claude Code

Cards now appear in YAML order (PI first, then each role group in
the order defined in people.yml). The per-role <h2> headers
(Principal Investigator / Graduate Students / Postdocs / Research
Associates / Undergraduate Students) are gone — visitors see the
individual person.title on each card instead.

Former members section is unchanged (still grouped by role with h3
subheadings since alumni are listed as text, not cards).

Note: John's entry in _data/people.yml has no `title` field, so his
card no longer has any role context shown. Add `title: Principal
Investigator` to his entry if you want it labeled.
@jmxpearson jmxpearson merged commit cbe8081 into master May 12, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants